<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .txt-wrap {
            border: 1px solid #dddddd;
            list-style: none;
            margin: 0;
            padding: 0;
            width: 300px;
            height: 24px;
            margin-left: 20px;
            overflow: hidden;
        }

        .txt-wrap:hover {
            cursor: pointer;
        }
    </style>
</head>

<body>
    <div id="app">
        <ul class="txt-wrap">
            <li>1.每时每课，给你新机会</li>
            <li>2.HTML定义了网页的内容</li>
            <li>3.JavaScript事件</li>
        </ul>
    </div>
</body>
<script src="../js/work1.js"></script>

</html>